from urllib import parse

url = 'https://www.baidu.com/s?'

param = 'wd=搜狗'

url = url+ param
print(url)

print('https://www.baidu.com/s?%s'%param)